package com.springbootmybatishw.dao.impl;

import com.springbootmybatishw.dao.StudentDao;
import com.springbootmybatishw.entity.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public class StudentDaoImpl implements StudentDao {
    @Override
    public Student findStudentByName(String name) {
        return findStudentByName(name);
    }

    @Override
    public List<Student> findStudentAll() {
        return findStudentAll();
    }

    @Override
    public int insertStudent(Student student) {
        return insertStudent(student);
    }

    @Override
    public int deleteStudent(Integer id) {
        return deleteStudent(id);
    }

    @Override
    public int updateStudent(Student student) {
        return updateStudent(student);
    }
}
